package instruction;

import java.io.Serializable;
import java.util.ArrayList;

public class Group implements Serializable {
    private String image;//群头像
    private String name;//群名
    private String account;//群账号
    private String introduction;//群简介
    private String creator;//群主
    private ArrayList<Member> memberList;//群成员表列

    public Group(String image, String name, String account, String introduction, String creator, ArrayList<Member> memberList) {
        this.image = image;
        this.name = name;
        this.account = account;
        this.introduction = introduction;
        this.creator = creator;
        this.memberList = memberList;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public ArrayList<Member> getMemberList() {
        return memberList;
    }

    public void setMemberList(ArrayList<Member> memberList) {
        this.memberList = memberList;
    }
}


